import { createRouter, createWebHistory } from "vue-router";
import routesList from "./routesList";

const routes = [
  {
    path: "/",
    name: "layout",
    component: () =>
      import(/* webpackChunkName: "layout" */ "../views/home/index.vue"),
    children: routesList,
  },
  
];

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes,
});

export default router;
